package com.itheima.d03_thread_callable;

import java.util.concurrent.Callable;

public class MycallableOne implements Callable<Integer> {
    /**/
    @Override
    public Integer call() throws Exception {
       int  sum=2;
       for (int i = 4; i < 100; i+=2){
           sum+=i;
           System.out.println("子线程");

       }
        return sum;
    }

}
